Skip to content

abort transaction if Lmod cache update failed#219

Merged
bedroge merged 6 commits intoEESSI:mainfrom
boegel:abort_failed_lmod_cache_update
Jun 7, 2025
Merged

abort transaction if Lmod cache update failed#219
bedroge merged 6 commits intoEESSI:mainfrom
boegel:abort_failed_lmod_cache_update

Conversation

@boegel
Copy link
Copy Markdown
Contributor

@boegel boegel commented Jun 7, 2025

We're not checking the exit code after doing the Lmod cache update, we should.

Trigger for this is missing Lmod cache files currently for intel/cascadelake and intel/icelake CPU targets:

$ ls -lrtd /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/intel/*/.lmod/cache
drwxr-xr-x 2 cvmfs cvmfs 117 May 28 23:36 /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/intel/haswell/.lmod/cache
drwxr-xr-x 2 cvmfs cvmfs 117 May 28 23:36 /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/intel/skylake_avx512/.lmod/cache
drwxr-xr-x 2 cvmfs cvmfs 117 May 28 23:36 /cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/intel/sapphirerapids/.lmod/cache

Note: this is totally untested!

Comment thread scripts/ingest-tarball.sh Outdated
Comment thread scripts/ingest-tarball.sh Outdated
@bedroge bedroge merged commit 0742cdd into EESSI:main Jun 7, 2025
21 checks passed
@boegel boegel deleted the abort_failed_lmod_cache_update branch June 7, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants